<!--
  This file is a part of the open-eBackup project.
  This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
  If a copy of the MPL was not distributed with this file, You can obtain one at
  http://mozilla.org/MPL/2.0/.
  
  Copyright (c) [2024] Huawei Technologies Co.,Ltd.
  
  THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
  EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
  MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
  -->


<!DOCTYPE html
  PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="zh-cn" xml:lang="zh-cn">
<head>
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
   
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="DC.Type" content="topic">
<meta name="DC.Title" content="恢复NDMP NAS文件系统中的文件">
<meta name="product" content="">
<meta name="DC.Relation" scheme="URI" content="nas_s_0056_0.html">
<meta name="prodname" content="">
<meta name="version" content="">
<meta name="brand" content="30-OceanProtect 备份一体机 1.5.0-1.6.0 帮助中心">
<meta name="DC.Publisher" content="20240320">
<meta name="prodname" content="csbs">
<meta name="documenttype" content="usermanual">
<meta name="DC.Format" content="XHTML">
<meta name="DC.Identifier" content="nas_s_0060_0">
<meta name="DC.Language" content="zh-cn">
<link rel="stylesheet" type="text/css" href="public_sys-resources/commonltr.css">
<title>恢复NDMP NAS文件系统中的文件</title>
</head>
<body style="clear:both; padding-left:10px; padding-top:5px; padding-right:5px; padding-bottom:5px"><a name="nas_s_0060_0"></a><a name="nas_s_0060_0"></a>

<h1 class="topictitle1">恢复NDMP NAS文件系统中的文件</h1>
<div><p>当需要对已备份的NAS文件系统指定文件恢复时，可以参考本节恢复NAS文件系统中的文件至原位置、新位置或者本机位置。</p>
<div class="section"><h4 class="sectiontitle">背景信息</h4><ul><li><span>OceanProtect</span>支持使用备份副本、对象存储归档的副本进行文件级恢复。</li><li>支持索引的文件系统兼容性请登录<a href="https://info.support.huawei.com/storage/comp/#/oceanprotect" target="_blank" rel="noopener noreferrer">OceanProtect兼容性查询工具</a>查询。</li></ul>
</div>
<div class="section"><h4 class="sectiontitle">注意事项</h4><p>当文件夹或文件名称存在乱码时，不支持文件级恢复。请勿勾选该类型的文件夹或文件，否则恢复失败。</p>
</div>
<div class="section"><h4 class="sectiontitle">前提条件</h4><ul><li>副本的索引状态必须为<span class="uicontrol">“<span>已索引</span>”</span>才支持文件级恢复。</li><li>如果副本已开启<span>自动索引</span>，则副本的索引状态为<span class="uicontrol">“<span>已索引</span>”</span>，可以直接进行文件级恢复。如果未开启<span>自动索引</span>功能，请先单击<span class="uicontrol">“<span>手动创建索引</span>”</span>，再进行文件级恢复。</li><li>如果将NDMP NAS文件系统恢复到新位置，需要先将新位置的存储设备添加到<span id="nas_s_0060_0__nas_s_0059_0_text1511818204144">OceanProtect</span>。添加存储设备的详细操作请参见<a href="nas_s_0013_0.html">步骤1：添加存储设备</a>。</li></ul>
</div>
<div class="section"><h4 class="sectiontitle">操作步骤</h4><ol><li><span>选择<span class="uicontrol" id="nas_s_0060_0__zh-cn_topic_0000001839142377_uicontrol824614391515">“<span id="nas_s_0060_0__zh-cn_topic_0000001839142377_text1324633181516">数据利用</span> &gt; <span id="nas_s_0060_0__zh-cn_topic_0000001839142377_text92466391512">副本数据</span> &gt; 文件系统 &gt; NDMP”</span>。</span></li><li><span>支持以NDMP NAS文件系统资源维度或以副本维度查找副本，本节以NDMP NAS文件系统资源维度为例进行说明。</span><p><p id="nas_s_0060_0__nas_s_0059_0_p142551140161511">在“<span id="nas_s_0060_0__nas_s_0059_0_text6827103218214">资源</span>”页签，根据NDMP NAS文件系统名称查找到需要恢复的文件系统，并单击文件系统名称。</p>
</p></li><li><span>在<span class="uicontrol" id="nas_s_0060_0__nas_s_0059_0_uicontrol1812414562220">“<span id="nas_s_0060_0__nas_s_0059_0_text18993182162710">副本数据</span>”</span>页面，依次选择年、月、天找到副本。</span><p><p id="nas_s_0060_0__nas_s_0059_0_p9918150182310">当时间上显示<span><img id="nas_s_0060_0__nas_s_0059_0_image886000161711" src="zh-cn_image_0000001937668641.png"></span>，即表示该月、该天存在副本。</p>
</p></li><li><span>找到要恢复的副本，单击副本所在行右侧的<span class="uicontrol">“更多 &gt; 文件级恢复”</span>。</span><p><div class="note"><img src="public_sys-resources/note_3.0-zh-cn.png"><span class="notetitle"> </span><div class="notebody"><p>链接文件不支持文件级恢复。</p>
</div></div>
</p></li><li><span>设置恢复文件的选择方式，并从目录树选择待恢复文件或手动输入待恢复文件的路径。</span><p><div class="note" id="nas_s_0060_0__foc_gud_0051_vmware_gud_0060_note1195634711290"><img src="public_sys-resources/note_3.0-zh-cn.png"><span class="notetitle"> </span><div class="notebody"><ul id="nas_s_0060_0__foc_gud_0051_vmware_gud_0060_ul14956124712297"><li id="nas_s_0060_0__foc_gud_0051_vmware_gud_0060_li1095674772911">如果副本中的文件数量较多，系统可能超时，无法从目录树上选择待恢复文件，建议手动输入恢复文件路径。</li><li id="nas_s_0060_0__foc_gud_0051_vmware_gud_0060_li19956104762918">手动输入文件路径时，请输入文件完整路径，例如：/opt/abc/efg.txt或者C:\abc\efg.txt。当输入文件夹路径时，表示恢复该文件夹下的所有文件，例如：/opt/abc或者C:\abc。路径中的文件名区分大小写。</li></ul>
</div></div>
</p></li><li><span>选择待恢复的目标对象，及恢复目标位置。</span><p><p>恢复目标位置包含：<span>原位置</span>、<span>新位置</span>。</p>
<ul><li><span>原位置</span>：恢复到原文件系统。</li><li><span>新位置</span>：恢复到其他设备的文件系统或原设备的其他文件系统。</li></ul>
<p>原位置参数说明，请参见<a href="#nas_s_0060_0__table1452025982813">表1</a>；新位置的参数说明，请参见<a href="#nas_s_0060_0__table1248313820599">表2</a>。</p>

<div class="tablenoborder"><a name="nas_s_0060_0__table1452025982813"></a><a name="table1452025982813"></a><table cellpadding="4" cellspacing="0" summary="" id="nas_s_0060_0__table1452025982813" frame="border" border="1" rules="all"><caption><b>表1 </b>恢复至原位置参数说明</caption><colgroup><col style="width:13.569999999999999%"><col style="width:86.42999999999999%"></colgroup><thead align="left"><tr><th align="left" class="cellrowborder" valign="top" width="13.569999999999999%" id="mcps1.3.5.2.6.2.4.2.3.1.1"><p>参数</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="86.42999999999999%" id="mcps1.3.5.2.6.2.4.2.3.1.2"><p>说明</p>
</th>
</tr>
</thead>
<tbody><tr><td class="cellrowborder" valign="top" width="13.569999999999999%" headers="mcps1.3.5.2.6.2.4.2.3.1.1 "><p><span>位置</span></p>
</td>
<td class="cellrowborder" valign="top" width="86.42999999999999%" headers="mcps1.3.5.2.6.2.4.2.3.1.2 "><p>文件系统所在的位置，用户无法修改。</p>
</td>
</tr>
</tbody>
</table>
</div>

<div class="tablenoborder"><a name="nas_s_0060_0__table1248313820599"></a><a name="table1248313820599"></a><table cellpadding="4" cellspacing="0" summary="" id="nas_s_0060_0__table1248313820599" frame="border" border="1" rules="all"><caption><b>表2 </b>恢复至新位置参数说明</caption><colgroup><col style="width:13.569999999999999%"><col style="width:86.42999999999999%"></colgroup><thead align="left"><tr><th align="left" class="cellrowborder" valign="top" width="13.569999999999999%" id="mcps1.3.5.2.6.2.5.2.3.1.1"><p>参数</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="86.42999999999999%" id="mcps1.3.5.2.6.2.5.2.3.1.2"><p>说明</p>
</th>
</tr>
</thead>
<tbody><tr><td class="cellrowborder" valign="top" width="13.569999999999999%" headers="mcps1.3.5.2.6.2.5.2.3.1.1 "><p><span>存储设备</span></p>
</td>
<td class="cellrowborder" valign="top" width="86.42999999999999%" headers="mcps1.3.5.2.6.2.5.2.3.1.2 "><p>选择新位置所在的存储设备。</p>
</td>
</tr>
<tr><td class="cellrowborder" valign="top" width="13.569999999999999%" headers="mcps1.3.5.2.6.2.5.2.3.1.1 "><p><span>文件系统</span></p>
</td>
<td class="cellrowborder" valign="top" width="86.42999999999999%" headers="mcps1.3.5.2.6.2.5.2.3.1.2 "><p>选择恢复目标文件系统。</p>
</td>
</tr>
<tr><td class="cellrowborder" valign="top" width="13.569999999999999%" headers="mcps1.3.5.2.6.2.5.2.3.1.1 "><p><span>FQDN/IP</span></p>
</td>
<td class="cellrowborder" valign="top" width="86.42999999999999%" headers="mcps1.3.5.2.6.2.5.2.3.1.2 "><p>访问NAS共享的FQDN名称或者业务IP地址。</p>
<p>FQDN名称格式为<em id="nas_s_0060_0__nas_s_0024_i1721710819358">NAS共享所在的存储设备名称</em>.<em id="nas_s_0060_0__nas_s_0024_i12733111103514">存储设备所加入域的域名</em>。如NAS共享所在的存储设备名称为Huawei.Storage，存储设备所加入域的域名为huawei.com，则FQDN名称为Huawei.Storage.huawei.com。</p>
<div class="note"><span class="notetitle"> 说明： </span><div class="notebody"><p>如果需要填写FQDN名称，请在<span>OceanProtect</span>设备管理界面配置DNS服务，使<span>OceanProtect</span>可以访问外部域名地址。配置DNS服务的详细操作，请参见<a href="nas_s_0099_0.html">配置DNS服务</a>。</p>
</div></div>
</td>
</tr>
<tr><td class="cellrowborder" valign="top" width="13.569999999999999%" headers="mcps1.3.5.2.6.2.5.2.3.1.1 "><p><span>覆盖规则</span></p>
</td>
<td class="cellrowborder" valign="top" width="86.42999999999999%" headers="mcps1.3.5.2.6.2.5.2.3.1.2 "><p><span>直接替换已经存在的文件</span>。</p>
<div class="note"><span class="notetitle"> 说明： </span><div class="notebody"><p>若在选择副本时不勾选父目录只选择子内容，则恢复后父目录权限被默认设置为777，请根据安全需求修改父目录权限。</p>
</div></div>
</td>
</tr>
</tbody>
</table>
</div>
</p></li><li><span>配置完<span class="uicontrol">“选择恢复目标位置”</span>后单击<span class="uicontrol">“确定”</span>。</span></li><li><span>单击<span class="uicontrol">“<span>确定</span>”</span>。</span><p><p><span><img src="zh-cn_image_0000002024688902.png"></span></p>
<p></p>
</p></li></ol>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>父主题：</strong> <a href="nas_s_0056_0.html">恢复</a></div>
</div>
</div>

<div class="hrcopyright"><hr size="2"></div><div class="hwcopyright">版权所有 &copy; 华为技术有限公司</div></body>
</html>